    	<div class="position">当前位置：<a href="<?php echo Yii::app()->createUrl('member/index/index');?>"><?php echo t('Member','web') ?></a> &gt; <a href="<?php echo Yii::app()->createUrl('member/index/refund');?>">客户服务</a> &gt; 投诉管理</div>
        <div class="hr_15"></div>
        <div class="steps">
            <ul class="fs_14 c_f">
                <li class="done done_a first"><span class="one">第一步,投诉申请</span></li>
                <li class="cur"><span class="two">第二步，等待卖家申诉</span><span class="two d_n">第二步，卖家已申诉完成</span><span class="two d_n">第二步，卖家处理投诉</span></li>
                <li class="last"><span class="three">第三步，投诉完成</span></li> 
            </ul>
        </div>
        <div class="hr_20"></div>
        <!--投诉管理 start-->
        <div class="complain_box step_box">
        	<div class="step_info">
            	<div class="box">
            		<div class="h fs_14 fw_b">买家投诉信息</div>
                    <ul class="form_list">
                        <li><span class="tit">投诉编号：</span><span><?php echo $model->zmr_id ?></span></li>
                        <li><span class="tit">投诉时间：</span><span><?php echo date('Y-m-d H:i:s',$model->inputtime);?></span></li>
                        <li><span class="tit">投诉原因：</span><span><?php echo $this->complainType[$model->zmr_type_info];?></span></li>
                        <li><span class="tit">补充说明：</span><span><?php echo $model->zmr_content ?></span></li>
                        <li class="c_f"><span class="tit f_l">上传凭证：</span>
                            <div class="cert_img f_l">
                                <ul class="c_f">
								<?php 
                                    for($i=0; $i<3; $i++){
                                        if(isset($model->zmr_mem_pic[$i])){
                                            echo '<li><img src="'.$model->zmr_mem_pic[$i].'" alt="" /></li>';
                                        }else{
                                            echo '<li><img src="/images/cert_img.jpg" alt="" /></li>';
                                        }
                                    }
                                ?>
                                </ul>
                            </div>
                        </li>
                    </ul>
                </div>
                 <div class="box">
                    <div class="h fs_14 fw_b">卖家申诉信息</div>
                    <?php if(!$model->zmr_reply){?>
                    
                        <script type="text/javascript">
                            $(function(){
                                $(".time").timeGo({callBackFunction:function(element,msg){
                                    //msg.html("时间到").show();
                                }});
                            });
                        </script>
                        <p class="complain_tips time">
                            <span class="remainSeconds" style="display:none"><?php echo $model->inputtime+604800-time();?></span>
                            <span class="ico ico_tip"></span>等待卖家申诉凭证，如果卖家在<span class ="remainTime">00 小时 00 分 00秒</span>之内没有进行申诉处理，商城客服将裁定买家投诉成功！
                        </p>
                    <?php }else{?>
                    	<ul class="form_list">                    
                        <li><span class="tit">申诉内容：</span><span><?php echo $model->zmr_reply; ?></span></li>
                        <li class="c_f"><span class="tit f_l">申诉凭证：</span>
                            <div class="cert_img f_l">
                                <ul class="c_f">
								<?php 
                                    for($i=0; $i<3; $i++){
                                        if(isset($model->zmr_cmp_pic[$i])){
                                            echo '<li><img src="'.$model->zmr_cmp_pic[$i].'" alt="" /></li>';
                                        }else{
                                            echo '<li><img src="/images/cert_img.jpg" alt="" /></li>';
                                        }
                                    }
                                ?>
                                </ul>
                            </div>
                        </li>
                        <li><span class="tit">申诉时间：</span><span></span></li>
                    </ul>
                    <?php }?>
            	</div>
            	 
            	<div class="box">
                    <div class="h fs_14 fw_b">客服处理结果</div>
                    <p class="complain_tips"><span class="ico ico_tip"></span>商城客服将在48小时之内处理本次投诉活动。</p>
            	</div>
            </div>    
            <!--卖家处理投诉  start-->
            <div class="step_info d_n">
            	<div class="step_status">
                	<div class="status">
                        <p><span class="ico_big ico_done"></span><strong class="fs_14">投诉已提交，等待卖家申诉</strong><strong class="fs_14 d_n">卖家已申诉，等待商城客户处理</strong></p>
                        <p class="c_999">如果卖家在 4 天 0 小时 0 分 0 秒 内没有进行申诉处理，商城客服将裁定买家投诉成功！</p>
                        <p class="c_999 d_n">商城客服将在48小时之内处理本次投诉。</p>
                    </div>
                </div>
                <div class="info">
                	<h3>卖家申诉信息</h3>
                    <ul class="form_list">
                        <li><span class="tit">申诉时间：</span><span>：2012-09-22 16：00</span></li>
                        <li class="c_f"><span class="tit f_l">上传凭证：</span>
                            <div class="cert_img f_l">
                                <ul class="c_f">
                                    <li><img src="images/cert_img.jpg" alt="" /></li>
                                    <li><img src="images/cert_img.jpg" alt="" /></li>
                                    <li><img src="images/cert_img.jpg" alt="" /></li>
                                </ul>
                            </div>
                        </li>
                        <li><span class="tit">补充说明：</span><span>商品质量存在很大问题，衣服起毛商品质量存在很大问题，衣服起毛商品质量存在很大问题，衣服起毛商品质量存在很大问题，衣服起毛商品质量存在很大问题，衣服起毛</span></li>
                    </ul>
                </div>
            	<div class="info no_border">
                	<h3>买家投诉信息</h3>
                    <ul class="form_list">
                        <li><span class="tit">投诉编号：</span><span><?php echo $model->zmr_id ?></span></li>
                        <li><span class="tit">投诉时间：</span><span><?php echo date('Y-m-d H:i:s',$model->inputtime);?></span></li>
                        <li><span class="tit">投诉原因：</span><span><?php echo $this->complainType[$model->zmr_type_info];?></span></li>
                        <li><span class="tit">补充说明：</span><span><?php echo $model->zmr_content ?></span></li>
                        <li class="c_f"><span class="tit f_l">上传凭证：</span>
                            <div class="cert_img f_l">
                                <ul class="c_f">
								<?php 
                                    for($i=0; $i<3; $i++){
                                        if(isset($model->zmr_mem_pic[$i])){
                                            echo '<li><img src="'.$model->zmr_mem_pic[$i].'" alt="" /></li>';
                                        }else{
                                            echo '<li><img src="/images/cert_img.jpg" alt="" /></li>';
                                        }
                                    }
                                ?>
                                </ul>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
            <!--卖家处理投诉  end-->
            <table class="list_table" cellpadding="0" cellspacing="0" width="100%">
            	<tr>
                	<th width="35%">宝贝信息</th>
                    <!-- <th width="15%">卖家</th> -->
                    <th width="12%">单价（元）</th>
                    <th width="12%">数量</th>
                    <th width="14%">优惠</th>
                    <th width="12%">小计（元）</th>
                </tr>
                <tr>
                	<td class="pro tl">
                    	<div class="c_img c_img50"><a href="<?php echo Yii::app()->createUrl('home/product/detail',array('id'=>$product['zp_id']));?>" title="" target="_blank"><img width="50" height="50" src="<?php echo $product->zp_pic; ?>" alt="" /></a></div>
                   		<p class="title_pro"><a class="c_06c" href="<?php echo Yii::app()->createUrl('home/product/detail',array('id'=>$product['zp_id']));?>" title="<?php echo $product['zp_name'];?>" target="_blank"><?php echo $product['zp_name'];?></a></p>
                    </td>
                    <!-- <td><a class="c_06c" href="<?php //echo Company::createCompanyUrl($product->company->zc_sub_domain);?>" title=""><?php //echo $product->company->zc_name;?></a></td> -->
                    <td><?php echo $ordproduct->zop_price;?></td>
                    <td><?php echo $ordproduct->zop_nums;?></td>
                    <td>
                    	<?php 
							foreach($discount as $key=>$value){
								echo OrdDiscount::getDiscountType($value->zod_type).'：-'.$value->zod_price.'</br>';
							}
						?>
                    </td>
                    <td><span class="fw_b fs_14 c_f60"><?php echo $ordproduct->zop_real_price*$ordproduct->zop_nums;?></span></td>
                </tr>
            </table>
        </div>
    </div>
    	<!--投诉管理 end-->